package dao;

import java.util.HashMap;
import java.util.List;

public interface NfcTagDao {

	int insertNfcTagInfo(HashMap<String, String> nfcTagInfo);

	HashMap<String, String> selectLatestNfcTagInfo(HashMap<String, String> nfcTagInfo);

	int calculateTimeTerm(HashMap<String, String> beforeInsertNfcTagInfo);

	int selectFloor(String fnfcid);

	int setStart(HashMap<String, String> nfcTagInfo);

	String selectMid(String mid);

	int checkAddMemberFloor(HashMap<String, String> memberFloorMap);

	void insertMemberFloor(HashMap<String, String> memberFloorMap);

	int updateMemberFloor(HashMap<String, String> memberFloorMap);

	double selectAdditionalTemperature(String mid);

	void updateTemperature(HashMap<String, Object> temperatureMap);

	Double selectTemperature(String mid);

	void resetTemperature(String mid);

	void updateRedbean(String mid);

	List<HashMap<String, String>> mission1List(String mid);

	int calculateDateTerm(HashMap<String, String> dateTerm);

	int selectMission1Progress(String mid);

	void insertMission1(String mid);

	void updateMission1Progress(HashMap<String, Object> progressMap);

	int selectMission2Progress(String mid);

	void insertMission2(String mid);

	void updateMission2Progress(HashMap<String, Object> progressMap);

	int selectDeptStairs(String mid);

	int selectMission3Progress(String mid);

	void insertMission3(String mid);

	void updateMission3Progress(HashMap<String, Object> progressMap);

}
